package liangtWorkSpace.validation.expetion;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName MyException
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/24 17:16
 */
@Data
public class MyException extends RuntimeException {
    public MyException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private String code;
    private String msg;
}
